package com.augurit.gzcgwsp.ywcmn.service;

import java.util.List; 

import com.augurit.common.base.service.ICrudService;
import com.augurit.gzcgwsp.ywcmn.entity.YwComSjtzsSccl;
import com.augurit.gzcgwsp.ywcmn.web.form.YwComSjtzsScclForm;

public interface IYwComSjtzsScclService extends ICrudService<YwComSjtzsScclForm, Long> {
    public List<YwComSjtzsScclForm> getList(YwComSjtzsScclForm form);
    public List<YwComSjtzsScclForm> getList(String name, String templateCode);
    public List<YwComSjtzsSccl> getYwComSjcls(String templateCode);
    
    /**
     * 查询收件材料模版
     * @param form
     * @param type
     */
	public List<YwComSjtzsScclForm> getSjList(YwComSjtzsScclForm form, String type);
	
	/**
	 * 根据acceptNo、ajid、templateCode删除记录
	 * @param acceptNo
	 * @param ajid
	 * @param templateCode
	 */
	public void deleteByAcceptNoAndAjidAndTemplateCode(String acceptNo,Long ajid,String templateCode);
	public  List<YwComSjtzsSccl>  getdataByNo(String acceptNo);
}